home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3rspec.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_RSPEC_H = 1;
- include("oops/r3model.js")
- include("oops/r3slctbl.js")
-
-
- var R3CLID_RSPEC = 61;
-
-
-
-
- // Description: Set option flags
- // p3: Integer, flags to be set
-
- R3SPCM_SETOPTION = 61000;
-
- function mR3SPCM_SETOPTION(p3) {
- DoA(this.r3obj, 61000, p3, R3TID_INTEGER, 0);
- }
-
- // Description: Reset option flags
- // p3: Integer, flags to be reset
-
- R3SPCM_CLEAROPTION = 61001;
-
- function mR3SPCM_CLEAROPTION(p3) {
- DoA(this.r3obj, 61001, p3, R3TID_INTEGER, 0);
- }
-
- // Description: See if given option is set
- // p3: Integer, flag to be checked
-
- R3SPCM_OPTIONISSET = 61002;
-
- function mR3SPCM_OPTIONISSET(p3) {
- DoA(this.r3obj, 61002, p3, R3TID_INTEGER, 0);
- }
-
- // Description: Add a server to use for rendering
- // Returns: Object, created server object
- // p1: Boolean, don't call R3MM_CHANGED
- // p2: Boolean, disabled
- // p3: String, name of server
-
- R3SPCM_ADDSERVER = 61003;
-
- function mR3SPCM_ADDSERVER(p1, p2, p3) {
- return R3ToJS( DoA3(this.r3obj, 61003, p1, R3TID_BOOLEAN, 0, p2, R3TID_BOOLEAN, 0, p3, R3TID_STRING, 0));
- }
-
- // Description: Remove a server
- // p3: String, name of server
-
- R3SPCM_REMOVESERVER = 61004;
-
- function mR3SPCM_REMOVESERVER(p3) {
- DoA(this.r3obj, 61004, p3, R3TID_STRING, 0);
- }
-
- // Description: Add a trace channel item.
- // p1: String, name of signal channel
- // p3: String, name of ray channel
-
- R3SPCM_ADDTRACECHANNEL = 61005;
-
- function mR3SPCM_ADDTRACECHANNEL(p1, p3) {
- DoA2(this.r3obj, 61005, p1, R3TID_STRING, 0, p3, R3TID_STRING, 0);
- }
-
- // Description: Remove a trace channel item. The item with matching channel names is removed.
- // p1: String, name of signal channel
- // p3: String, name of ray channel
-
- R3SPCM_REMOVETRACECHANNEL = 61006;
-
- function mR3SPCM_REMOVETRACECHANNEL(p1, p3) {
- DoA2(this.r3obj, 61006, p1, R3TID_STRING, 0, p3, R3TID_STRING, 0);
- }
-
- // Description: Define channel's aa triggert state. Trigger channel values are examined in antialiasing & subsampling
- // p1: Boolean, turns antialias check on/off
- // p3: String, name of channel
-
- R3SPCM_SETCHANNELAA = 61007;
-
- function mR3SPCM_SETCHANNELAA(p1, p3) {
- DoA2(this.r3obj, 61007, p1, R3TID_BOOLEAN, 0, p3, R3TID_STRING, 0);
- }
-
- // Description: Defines the antialias operation for a channel.
- // p3: String, name of channel
-
- R3SPCM_SETCHANNELOPERATION = 61008;
-
- function mR3SPCM_SETCHANNELOPERATION(p3) {
- DoA(this.r3obj, 61008, p3, R3TID_STRING, 0);
- }
-
- // Description: Returns aa trigger state of a channel.
- // Returns: Boolean, TRUE if triggering is on
- // p3: String, name of channel
-
- R3SPCM_GETCHANNELAA = 61009;
-
- function mR3SPCM_GETCHANNELAA(p3) {
- return DoA(this.r3obj, 61009, p3, R3TID_STRING, 0);
- }
-
- // Description: Reads the antialias operation of a channel.
- // Returns: Integer, see aa operations below
- // p3: String, name of channel
-
- R3SPCM_GETCHANNELOPERATION = 61010;
-
- function mR3SPCM_GETCHANNELOPERATION(p3) {
- return DoA(this.r3obj, 61010, p3, R3TID_STRING, 0);
- }
-
- // Description: Remove a antialias channel spec. The channel will use default settings.
- // p3: String, name of channel
-
- R3SPCM_REMOVEAACHANNEL = 61011;
-
- function mR3SPCM_REMOVEAACHANNEL(p3) {
- DoA(this.r3obj, 61011, p3, R3TID_STRING, 0);
- }
-
- // Description: Remove all servers from the server list.
-
- R3SPCM_CLEARSERVERS = 61012;
-
- function mR3SPCM_CLEARSERVERS() {
- DoA(this.r3obj, 61012, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Update server list
-
- R3SPCM_FETCHSERVERS = 61013;
-
- function mR3SPCM_FETCHSERVERS() {
- DoA(this.r3obj, 61013, 0, R3TID_INTEGER, 0);
- }
-
-
-
-
- R3SPCA_AutoBox = 61500;
- function SetR3SPCA_AutoBox(value) {
- R3Set(this.r3obj, R3SPCA_AutoBox, value, R3TID_BOOLEAN, 0);
- }
-
- function GetR3SPCA_AutoBox() {
- return R3Get(this.r3obj, R3SPCA_AutoBox, R3TID_BOOLEAN, 0);
- }
-
- R3SPCA_Options = 61501;
- function SetR3SPCA_Options(value) {
- R3Set(this.r3obj, R3SPCA_Options, value, R3TID_INTEGER, 0);
- }
-
- function GetR3SPCA_Options() {
- return R3Get(this.r3obj, R3SPCA_Options, R3TID_INTEGER, 0);
- }
-
- R3SPCA_RecursionDepth = 61503;
- function SetR3SPCA_RecursionDepth(value) {
- R3Set(this.r3obj, R3SPCA_RecursionDepth, value, R3TID_INTEGER, 0);
- }
-
- function GetR3SPCA_RecursionDepth() {
- return R3Get(this.r3obj, R3SPCA_RecursionDepth, R3TID_INTEGER, 0);
- }
-
- R3SPCA_RecursionThreshold = 61504;
- function SetR3SPCA_RecursionThreshold(value) {
- R3Set(this.r3obj, R3SPCA_RecursionThreshold, value, R3TID_FLOAT, 0);
- }
-
- function GetR3SPCA_RecursionThreshold() {
- return R3Get(this.r3obj, R3SPCA_RecursionThreshold, R3TID_FLOAT, 0);
- }
-
- R3SPCA_AntialiasingLevel = 61505;
- function SetR3SPCA_AntialiasingLevel(value) {
- R3Set(this.r3obj, R3SPCA_AntialiasingLevel, value, R3TID_INTEGER, 0);
- }
-
- function GetR3SPCA_AntialiasingLevel() {
- return R3Get(this.r3obj, R3SPCA_AntialiasingLevel, R3TID_INTEGER, 0);
- }
-
- R3SPCA_AntialiasingThreshold = 61506;
- function SetR3SPCA_AntialiasingThreshold(value) {
- R3Set(this.r3obj, R3SPCA_AntialiasingThreshold, value, R3TID_FLOAT, 0);
- }
-
- function GetR3SPCA_AntialiasingThreshold() {
- return R3Get(this.r3obj, R3SPCA_AntialiasingThreshold, R3TID_FLOAT, 0);
- }
-
- R3SPCA_StepX = 61508;
- function SetR3SPCA_StepX(value) {
- R3Set(this.r3obj, R3SPCA_StepX, value, R3TID_INTEGER, 0);
- }
-
- function GetR3SPCA_StepX() {
- return R3Get(this.r3obj, R3SPCA_StepX, R3TID_INTEGER, 0);
- }
-
- R3SPCA_StepY = 61509;
- function SetR3SPCA_StepY(value) {
- R3Set(this.r3obj, R3SPCA_StepY, value, R3TID_INTEGER, 0);
- }
-
- function GetR3SPCA_StepY() {
- return R3Get(this.r3obj, R3SPCA_StepY, R3TID_INTEGER, 0);
- }
-
- R3SPCA_ScanLineDepth = 61510;
- function SetR3SPCA_ScanLineDepth(value) {
- R3Set(this.r3obj, R3SPCA_ScanLineDepth, value, R3TID_INTEGER, 0);
- }
-
- function GetR3SPCA_ScanLineDepth() {
- return R3Get(this.r3obj, R3SPCA_ScanLineDepth, R3TID_INTEGER, 0);
- }
-
- R3SPCA_ScanLineAccuracy = 61511;
- function SetR3SPCA_ScanLineAccuracy(value) {
- R3Set(this.r3obj, R3SPCA_ScanLineAccuracy, value, R3TID_FLOAT, 0);
- }
-
- function GetR3SPCA_ScanLineAccuracy() {
- return R3Get(this.r3obj, R3SPCA_ScanLineAccuracy, R3TID_FLOAT, 0);
- }
-
- R3SPCA_AntiAliasingMode = 61512;
- function SetR3SPCA_AntiAliasingMode(value) {
- R3Set(this.r3obj, R3SPCA_AntiAliasingMode, value, R3TID_INTEGER, 0);
- }
-
- function GetR3SPCA_AntiAliasingMode() {
- return R3Get(this.r3obj, R3SPCA_AntiAliasingMode, R3TID_INTEGER, 0);
- }
-
- R3SPCA_Concurrency = 61513;
- function SetR3SPCA_Concurrency(value) {
- R3Set(this.r3obj, R3SPCA_Concurrency, value, R3TID_INTEGER, 0);
- }
-
- function GetR3SPCA_Concurrency() {
- return R3Get(this.r3obj, R3SPCA_Concurrency, R3TID_INTEGER, 0);
- }
-
- R3SPCA_RenderServers = 61514;
- function GetR3SPCA_RenderServers() {
- return R3Get(this.r3obj, R3SPCA_RenderServers, R3TID_LIST, R3TNF_ARRAY);
- }
-
- R3SPCA_BoxCountX = 61515;
- function SetR3SPCA_BoxCountX(value) {
- R3Set(this.r3obj, R3SPCA_BoxCountX, value, R3TID_INTEGER, 0);
- }
-
- function GetR3SPCA_BoxCountX() {
- return R3Get(this.r3obj, R3SPCA_BoxCountX, R3TID_INTEGER, 0);
- }
-
- R3SPCA_BoxCountY = 61516;
- function SetR3SPCA_BoxCountY(value) {
- R3Set(this.r3obj, R3SPCA_BoxCountY, value, R3TID_INTEGER, 0);
- }
-
- function GetR3SPCA_BoxCountY() {
- return R3Get(this.r3obj, R3SPCA_BoxCountY, R3TID_INTEGER, 0);
- }
-
- R3SPCA_UnderSamplingTreshold = 61517;
- function SetR3SPCA_UnderSamplingTreshold(value) {
- R3Set(this.r3obj, R3SPCA_UnderSamplingTreshold, value, R3TID_FLOAT, 0);
- }
-
- function GetR3SPCA_UnderSamplingTreshold() {
- return R3Get(this.r3obj, R3SPCA_UnderSamplingTreshold, R3TID_FLOAT, 0);
- }
-
- R3SPCA_BoxRendering = 61518;
- function SetR3SPCA_BoxRendering(value) {
- R3Set(this.r3obj, R3SPCA_BoxRendering, value, R3TID_BOOLEAN, 0);
- }
-
- function GetR3SPCA_BoxRendering() {
- return R3Get(this.r3obj, R3SPCA_BoxRendering, R3TID_BOOLEAN, 0);
- }
-
- R3SPCA_TraceChannels = 61519;
- function GetR3SPCA_TraceChannels() {
- return R3Get(this.r3obj, R3SPCA_TraceChannels, R3TID_LIST, R3TNF_ARRAY);
- }
-
- R3SPCA_OutLineColor = 61520;
- function SetR3SPCA_OutLineColor(value) {
- R3Set(this.r3obj, R3SPCA_OutLineColor, value, R3TID_COLOR_RGB, 0);
- }
-
- function GetR3SPCA_OutLineColor() {
- return R3Get(this.r3obj, R3SPCA_OutLineColor, R3TID_COLOR_RGB, 0);
- }
-
- R3SPCA_OutLineFillColor = 61521;
- function SetR3SPCA_OutLineFillColor(value) {
- R3Set(this.r3obj, R3SPCA_OutLineFillColor, value, R3TID_COLOR_RGB, 0);
- }
-
- function GetR3SPCA_OutLineFillColor() {
- return R3Get(this.r3obj, R3SPCA_OutLineFillColor, R3TID_COLOR_RGB, 0);
- }
-
- R3SPCA_OutLineChannelName = 61522;
- function SetR3SPCA_OutLineChannelName(value) {
- R3Set(this.r3obj, R3SPCA_OutLineChannelName, value, R3TID_STRING, 0);
- }
-
- function GetR3SPCA_OutLineChannelName() {
- return R3Get(this.r3obj, R3SPCA_OutLineChannelName, R3TID_STRING, 0);
- }
-
- R3SPCA_DitherScale = 61523;
- function SetR3SPCA_DitherScale(value) {
- R3Set(this.r3obj, R3SPCA_DitherScale, value, R3TID_FLOAT, 0);
- }
-
- function GetR3SPCA_DitherScale() {
- return R3Get(this.r3obj, R3SPCA_DitherScale, R3TID_FLOAT, 0);
- }
-
- R3SPCA_AAChannels = 61524;
- function GetR3SPCA_AAChannels() {
- return R3Get(this.r3obj, R3SPCA_AAChannels, R3TID_LIST, R3TNF_ARRAY);
- }
-
- R3SPCA_RamUsePolicy = 61525;
- function SetR3SPCA_RamUsePolicy(value) {
- R3Set(this.r3obj, R3SPCA_RamUsePolicy, value, R3TID_INTEGER, 0);
- }
-
- function GetR3SPCA_RamUsePolicy() {
- return R3Get(this.r3obj, R3SPCA_RamUsePolicy, R3TID_INTEGER, 0);
- }
-
- R3SPCA_CausticsBrightness = 61526;
- function SetR3SPCA_CausticsBrightness(value) {
- R3Set(this.r3obj, R3SPCA_CausticsBrightness, value, R3TID_FLOAT, 0);
- }
-
- function GetR3SPCA_CausticsBrightness() {
- return R3Get(this.r3obj, R3SPCA_CausticsBrightness, R3TID_FLOAT, 0);
- }
-
- R3SPCA_CausticsSampling = 61527;
- function SetR3SPCA_CausticsSampling(value) {
- R3Set(this.r3obj, R3SPCA_CausticsSampling, value, R3TID_INTEGER, 0);
- }
-
- function GetR3SPCA_CausticsSampling() {
- return R3Get(this.r3obj, R3SPCA_CausticsSampling, R3TID_INTEGER, 0);
- }
-
- R3SPCA_AutoThread = 61528;
- function SetR3SPCA_AutoThread(value) {
- R3Set(this.r3obj, R3SPCA_AutoThread, value, R3TID_BOOLEAN, 0);
- }
-
- function GetR3SPCA_AutoThread() {
- return R3Get(this.r3obj, R3SPCA_AutoThread, R3TID_BOOLEAN, 0);
- }
-
- R3SPCA_DistrManager = 61529;
- function SetR3SPCA_DistrManager(value) {
- R3Set(this.r3obj, R3SPCA_DistrManager, value, R3TID_BOOLEAN, 0);
- }
-
- function GetR3SPCA_DistrManager() {
- return R3Get(this.r3obj, R3SPCA_DistrManager, R3TID_BOOLEAN, 0);
- }
-
- R3SPCA_PublicHost = 61530;
- function SetR3SPCA_PublicHost(value) {
- R3Set(this.r3obj, R3SPCA_PublicHost, value, R3TID_STRING, 0);
- }
-
- function GetR3SPCA_PublicHost() {
- return R3Get(this.r3obj, R3SPCA_PublicHost, R3TID_STRING, 0);
- }
-
- R3SPCA_Memory = 61532;
- function SetR3SPCA_Memory(value) {
- R3Set(this.r3obj, R3SPCA_Memory, value, R3TID_INTEGER, 0);
- }
-
- function GetR3SPCA_Memory() {
- return R3Get(this.r3obj, R3SPCA_Memory, R3TID_INTEGER, 0);
- }
-
- R3SPCA_GlobalGeometryQuality = 61533;
- function SetR3SPCA_GlobalGeometryQuality(value) {
- R3Set(this.r3obj, R3SPCA_GlobalGeometryQuality, value, R3TID_INTEGER, 0);
- }
-
- function GetR3SPCA_GlobalGeometryQuality() {
- return R3Get(this.r3obj, R3SPCA_GlobalGeometryQuality, R3TID_INTEGER, 0);
- }
-
- var R3SPCOP_VOLUMESHADOWS = 1;
- var R3SPCOP_LIGHTSOURCES = 2;
- var R3SPCOP_SHADOWS = 4;
- var R3SPCOP_VOLUMETRICLIGHTING = 8;
- var R3SPCOP_VOLUMETRICSAMPLING = 16;
- var R3SPCOP_BACKUPIMAGE = 32;
- var R3SPCOP_INTERPOLATE = 64;
- var R3SPCOP_SCANLINESHADOWS = 128;
- var R3SPCOP_SCANLINEREFLECTIONS = 256;
- var R3SPCOP_FIELDSHIFTUP = 512;
- var R3SPCOP_FIELDLACEUP = 1024;
- var R3SPCOP_SAFETYAREA = 2048;
- var R3SPCOP_OUTLINE = 4096;
- var R3SPCOP_OUTLINEFILL = 8192;
- var R3SPCOP_CAUSTICS = 16384;
- var R3SPCOP_CAUSTICSAUTOBRG = 32768;
- var R3SPCAA_GEOMETRIC = 0;
- var R3SPCAA_STOCHASTIC = 1;
- var R3AAOP_AVERAGE = 0;
- var R3AAOP_MIN = 1;
- var R3AAOP_MAX = 2;
- var R3DD_VERSION = 1;
- var R3CMD_ADDHOST = 1023;
- var R3CMD_REMHOST = 1024;
- var R3CMD_REPORT = 1025;
- var R3DD_PORT = 10051;
-
-
- function r3Rspec () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_RSPEC, arguments);
- }
- // Methods
- this.SETOPTION=mR3SPCM_SETOPTION;
- this.CLEAROPTION=mR3SPCM_CLEAROPTION;
- this.OPTIONISSET=mR3SPCM_OPTIONISSET;
- this.ADDSERVER=mR3SPCM_ADDSERVER;
- this.REMOVESERVER=mR3SPCM_REMOVESERVER;
- this.ADDTRACECHANNEL=mR3SPCM_ADDTRACECHANNEL;
- this.REMOVETRACECHANNEL=mR3SPCM_REMOVETRACECHANNEL;
- this.SETCHANNELAA=mR3SPCM_SETCHANNELAA;
- this.SETCHANNELOPERATION=mR3SPCM_SETCHANNELOPERATION;
- this.GETCHANNELAA=mR3SPCM_GETCHANNELAA;
- this.GETCHANNELOPERATION=mR3SPCM_GETCHANNELOPERATION;
- this.REMOVEAACHANNEL=mR3SPCM_REMOVEAACHANNEL;
- this.CLEARSERVERS=mR3SPCM_CLEARSERVERS;
- this.FETCHSERVERS=mR3SPCM_FETCHSERVERS;
-
- // Attributes
- this.GetAutoBox=GetR3SPCA_AutoBox;
- this.SetAutoBox=SetR3SPCA_AutoBox;
- this.GetOptions=GetR3SPCA_Options;
- this.SetOptions=SetR3SPCA_Options;
- this.GetRecursionDepth=GetR3SPCA_RecursionDepth;
- this.SetRecursionDepth=SetR3SPCA_RecursionDepth;
- this.GetRecursionThreshold=GetR3SPCA_RecursionThreshold;
- this.SetRecursionThreshold=SetR3SPCA_RecursionThreshold;
- this.GetAntialiasingLevel=GetR3SPCA_AntialiasingLevel;
- this.SetAntialiasingLevel=SetR3SPCA_AntialiasingLevel;
- this.GetAntialiasingThreshold=GetR3SPCA_AntialiasingThreshold;
- this.SetAntialiasingThreshold=SetR3SPCA_AntialiasingThreshold;
- this.GetStepX=GetR3SPCA_StepX;
- this.SetStepX=SetR3SPCA_StepX;
- this.GetStepY=GetR3SPCA_StepY;
- this.SetStepY=SetR3SPCA_StepY;
- this.GetScanLineDepth=GetR3SPCA_ScanLineDepth;
- this.SetScanLineDepth=SetR3SPCA_ScanLineDepth;
- this.GetScanLineAccuracy=GetR3SPCA_ScanLineAccuracy;
- this.SetScanLineAccuracy=SetR3SPCA_ScanLineAccuracy;
- this.GetAntiAliasingMode=GetR3SPCA_AntiAliasingMode;
- this.SetAntiAliasingMode=SetR3SPCA_AntiAliasingMode;
- this.GetConcurrency=GetR3SPCA_Concurrency;
- this.SetConcurrency=SetR3SPCA_Concurrency;
- this.GetRenderServers=GetR3SPCA_RenderServers;
- this.GetBoxCountX=GetR3SPCA_BoxCountX;
- this.SetBoxCountX=SetR3SPCA_BoxCountX;
- this.GetBoxCountY=GetR3SPCA_BoxCountY;
- this.SetBoxCountY=SetR3SPCA_BoxCountY;
- this.GetUnderSamplingTreshold=GetR3SPCA_UnderSamplingTreshold;
- this.SetUnderSamplingTreshold=SetR3SPCA_UnderSamplingTreshold;
- this.GetBoxRendering=GetR3SPCA_BoxRendering;
- this.SetBoxRendering=SetR3SPCA_BoxRendering;
- this.GetTraceChannels=GetR3SPCA_TraceChannels;
- this.GetOutLineColor=GetR3SPCA_OutLineColor;
- this.SetOutLineColor=SetR3SPCA_OutLineColor;
- this.GetOutLineFillColor=GetR3SPCA_OutLineFillColor;
- this.SetOutLineFillColor=SetR3SPCA_OutLineFillColor;
- this.GetOutLineChannelName=GetR3SPCA_OutLineChannelName;
- this.SetOutLineChannelName=SetR3SPCA_OutLineChannelName;
- this.GetDitherScale=GetR3SPCA_DitherScale;
- this.SetDitherScale=SetR3SPCA_DitherScale;
- this.GetAAChannels=GetR3SPCA_AAChannels;
- this.GetRamUsePolicy=GetR3SPCA_RamUsePolicy;
- this.SetRamUsePolicy=SetR3SPCA_RamUsePolicy;
- this.GetCausticsBrightness=GetR3SPCA_CausticsBrightness;
- this.SetCausticsBrightness=SetR3SPCA_CausticsBrightness;
- this.GetCausticsSampling=GetR3SPCA_CausticsSampling;
- this.SetCausticsSampling=SetR3SPCA_CausticsSampling;
- this.GetAutoThread=GetR3SPCA_AutoThread;
- this.SetAutoThread=SetR3SPCA_AutoThread;
- this.GetDistrManager=GetR3SPCA_DistrManager;
- this.SetDistrManager=SetR3SPCA_DistrManager;
- this.GetPublicHost=GetR3SPCA_PublicHost;
- this.SetPublicHost=SetR3SPCA_PublicHost;
- this.GetMemory=GetR3SPCA_Memory;
- this.SetMemory=SetR3SPCA_Memory;
- this.GetGlobalGeometryQuality=GetR3SPCA_GlobalGeometryQuality;
- this.SetGlobalGeometryQuality=SetR3SPCA_GlobalGeometryQuality;
- }
-
- r3Rspec.prototype=new r3Model;
- // r3rspec.h_H